package com.md.mapper;

import com.md.entity.Student;

import java.util.List;

public interface StudentMapper {
    //查询所有学生
    List<Student> selectAllStudent();

    //根据ID查询学生
    Student selectStudentById(int i);

    //添加学生
    void insertStudent(Student student);

    //根据ID删除学生
    void deleteStudentById(int i);

    //根据ID修改学生
    void updateStudent(Student student);
}
